package com.csust.automaticteach.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.Builder;
import lombok.Data;

/**
 * 套题-题目关联表
 * @TableName t_set_exercises
 */
@TableName(value ="t_set_exercises")
@Data
@Builder
public class SetExercises implements Serializable {
    /**
     * 套题id
     */
    @TableField(value = "setId")
    private Long setId;

    /**
     * 题目id
     */
    @TableField(value = "exerciseId")
    private Long exerciseId;

    /**
     * 题目在套题中的顺序
     */
    @TableField(value = "position")
    private Integer position;

    /**
     * 是否删除
     */
    @TableField(value = "isDelete")
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}